package com.framework.workflow.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.framework.common.model.BaseModelMybatisWithId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WfLog extends BaseModelMybatisWithId {
    @ApiModelProperty("模块定义标识")
    private String procDefKey;

    @ApiModelProperty("模块定义编号")
    private String procInsId;

    @ApiModelProperty("任务定义标识")
    private String taskDefKey;

    @ApiModelProperty("任务标识")
    private String taskId;

    @ApiModelProperty("处理人")
    private String assignee;

    @ApiModelProperty("节点名称")
    private String nodeName;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("部门名称")
    private String deptId;

    @ApiModelProperty("审批状态")
    private String status;
}
